package com.ea.service;

import com.ea.domain.dto.GoodsSalesDTO;

import java.util.List;

/**
 * @author NAME-L
 * @Description TODO
 * @className IElectricGoodsSaleService
 * @date 2023-01-30 20:16:08
 */
public interface IElectricGoodsSaleService {

    /**
     * 记录销量
     * @param salesDTO
     */
    void addGoodsSale(GoodsSalesDTO salesDTO);

    /**
     * 批量添加销量
     * @param salesDTOList salesDTOList
     */
    void addGoodsSaleBatch(List<GoodsSalesDTO> salesDTOList);
}
